import Vue from "vue";
import App from "./App.vue";

//  vue-router
import router from "@/router";

//  vuex
import store from "@/store";

//  element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

//  font-awesome 
import "@/plugins/fontawesome";
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
Vue.component('font-awesome-icon', FontAwesomeIcon);

//  路由守卫
import "@/utils/permission";

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
